﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.Design;

namespace TA.Win.Utils.Design
{
	public class NestedCollectionEditor : CollectionEditor
	{
		public NestedCollectionEditor(Type type)
			: base(type)
		{
		}
		public override object EditValue(System.ComponentModel.ITypeDescriptorContext context, IServiceProvider provider, object value)
		{
			object v = base.EditValue(context, provider, value);
			context.OnComponentChanged();
			return v;
		}
	}
}
